/*************************************************************
 * File: CriteriaSupport.java
 * Copyright (c) 2012
 * Author: Shaobin.Software@gmail.com Shaobin_Software@163.com 
 * Date: Jan 10, 2013
 * Description: 
 ************************************************************/

package snow.core.persistence.mybatis;

import java.util.List;

/**
 * 所有MyBatis生成的Criteria都要实现这个接口
 * 
 * @author Shaobin.Software@gmail.com Shaobin_Software@163.com 
 * @version 1.0 
 */
public interface CriteriaSupport<Criterion extends CriterionSupport> {

	List<Criterion> getAllCriteria();

	List<Criterion> getCriteria();

	boolean isValid();
	
}
